home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / mardek_rpg.swf / scripts / DefineSprite_5747_dialogue_box / frame_1 / PlaceObject2_575_15 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2011-09-19  |  5KB  |  156 lines

  1. onClipEvent(enterFrame){
  2.    function ┬º\x01\x02┬º()
  3.    {
  4.       return 2709 % 511 * 5;
  5.    }
  6.    var ┬º\x01┬º = 141 + "\x01\x02"();
  7.    while(true)
  8.    {
  9.       if(eval("\x01") == 911)
  10.       {
  11.          set("\x01",eval("\x01") - 653);
  12.          ┬º┬ºpush(true);
  13.       }
  14.       else if(eval("\x01") == 515)
  15.       {
  16.          set("\x01",eval("\x01") + 427);
  17.          var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  18.          {
  19.             return 2709 % 511 * 5;
  20.          };
  21.       }
  22.       else if(eval("\x01") == 657)
  23.       {
  24.          set("\x01",eval("\x01") - 142);
  25.          ┬º┬ºpush("\x0f");
  26.          ┬º┬ºpush(1);
  27.       }
  28.       else if(eval("\x01") == 258)
  29.       {
  30.          set("\x01",eval("\x01") + 205);
  31.          if(function ┬º\x01\x02┬º()
  32.          {
  33.             return 2709 % 511 * 5;
  34.          })
  35.          {
  36.             set("\x01",eval("\x01") + 92);
  37.          }
  38.       }
  39.       else if(eval("\x01") == 555)
  40.       {
  41.          set("\x01",eval("\x01") + 102);
  42.       }
  43.       else if(eval("\x01") == 942)
  44.       {
  45.          set("\x01",eval("\x01") - 886);
  46.          ┬º┬ºpush("\x0f");
  47.       }
  48.       else if(eval("\x01") == 315)
  49.       {
  50.          set("\x01",eval("\x01") + 342);
  51.       }
  52.       else if(eval("\x01") == 422)
  53.       {
  54.          set("\x01",eval("\x01") + 243);
  55.          if(function ┬º\x01\x02┬º()
  56.          {
  57.             return 2709 % 511 * 5;
  58.          })
  59.          {
  60.             set("\x01",eval("\x01") + 194);
  61.          }
  62.       }
  63.       else
  64.       {
  65.          if(eval("\x01") == 463)
  66.          {
  67.             break;
  68.          }
  69.          if(eval("\x01") == 56)
  70.          {
  71.             set("\x01",eval("\x01") + 209);
  72.             ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  73.             {
  74.                return 2709 % 511 * 5;
  75.             }));
  76.          }
  77.          else if(eval("\x01") == 265)
  78.          {
  79.             set("\x01",eval("\x01") + 157);
  80.             ┬º┬ºpush(!function ┬º\x01\x02┬º()
  81.             {
  82.                return 2709 % 511 * 5;
  83.             });
  84.          }
  85.          else
  86.          {
  87.             if(eval("\x01") != 665)
  88.             {
  89.                if(eval("\x01") == 859)
  90.                {
  91.                   set("\x01",eval("\x01") - 371);
  92.                   if(_root.CHAPTER_THING._visible)
  93.                   {
  94.                      return undefined;
  95.                   }
  96.                   if(_parent.Message != "")
  97.                   {
  98.                      msgDelay--;
  99.                      if(msgDelay <= 0)
  100.                      {
  101.                         _parent.Message = "";
  102.                         _parent.Message2 = "";
  103.                      }
  104.                   }
  105.                   if(toShow.length > 0)
  106.                   {
  107.                      var ch = toShow.substr(1,_root.msgSpeed);
  108.                      _parent.display += FilteredText1(ch);
  109.                      _parent.display2 += FilteredText0(ch);
  110.                      toShow = toShow.substr(_root.msgSpeed + 1,-1);
  111.                      return undefined;
  112.                   }
  113.                }
  114.                else if(eval("\x01") == 488)
  115.                {
  116.                   set("\x01",eval("\x01") - 488);
  117.                }
  118.             }
  119.             set("\x01",eval("\x01") + 194);
  120.          }
  121.       }
  122.    }
  123.    set("\x01",eval("\x01") + 92);
  124.    nextFrame();
  125.    nextFrame();
  126.    nextFrame();
  127.    toggleHighQuality();
  128.    while(┬º┬ºpop() < ┬º┬ºpop()[function ┬º\x01\x02┬º()
  129.    {
  130.       return 2709 % 511 * 5;
  131.    }] - 3)
  132.    {
  133.       if(_loc4_.substr(_loc2_,4) == ┬º┬ºconstant(23))
  134.       {
  135.          var _loc4_ = _loc4_.substr(0,_loc2_ - 1) + _loc1_[┬º┬ºconstant(24)] + _loc4_.substr(_loc2_ + 4,-1);
  136.          var _loc2_ = 0;
  137.       }
  138.       var _loc5_ = [[┬º┬ºconstant(61),┬º┬ºconstant(60),┬º┬ºconstant(59),┬º┬ºconstant(52)],[┬º┬ºconstant(58),┬º┬ºconstant(57),┬º┬ºconstant(56),┬º┬ºconstant(48)],[┬º┬ºconstant(55),┬º┬ºconstant(54),┬º┬ºconstant(53),┬º┬ºconstant(52)],[┬º┬ºconstant(51),┬º┬ºconstant(50),┬º┬ºconstant(49),┬º┬ºconstant(48)],[┬º┬ºconstant(47),┬º┬ºconstant(46),┬º┬ºconstant(45),┬º┬ºconstant(44)],[┬º┬ºconstant(43),┬º┬ºconstant(41),┬º┬ºconstant(42),┬º┬ºconstant(41)],[┬º┬ºconstant(40),┬º┬ºconstant(38),┬º┬ºconstant(39),┬º┬ºconstant(38)],[┬º┬ºconstant(37),┬º┬ºconstant(35),┬º┬ºconstant(36),┬º┬ºconstant(35)],[┬º┬ºconstant(34),┬º┬ºconstant(33),┬º┬ºconstant(32),┬º┬ºconstant(25)],[┬º┬ºconstant(31),┬º┬ºconstant(30),┬º┬ºconstant(29),┬º┬ºconstant(25)],[┬º┬ºconstant(28),┬º┬ºconstant(27),┬º┬ºconstant(26),┬º┬ºconstant(25)]];
  139.       var _loc3_ = 0;
  140.       while(_loc3_ < _loc5_[┬º┬ºconstant(22)] && _loc2_ != 0)
  141.       {
  142.          if(_loc4_.substr(_loc2_,_loc5_[_loc3_][0][┬º┬ºconstant(22)]) == _loc5_[_loc3_][0])
  143.          {
  144.             _loc4_ = _loc4_.substr(1,_loc2_ - 1) + _loc5_[_loc3_][_loc1_[┬º┬ºconstant(62)][┬º┬ºconstant(63)] != ┬º┬ºconstant(64) ? 1 : 2] + _loc4_.substr(_loc2_ + _loc5_[_loc3_][0][┬º┬ºconstant(22)],-1);
  145.             _loc2_ = 0;
  146.          }
  147.          _loc3_ = _loc3_ + 1;
  148.       }
  149.       _loc2_ = _loc2_ + 1;
  150.       ┬º┬ºpush(_loc2_);
  151.       ┬º┬ºpush(_loc4_);
  152.       ┬º┬ºpush(┬º┬ºconstant(22));
  153.    }
  154.    return _loc4_;
  155. }
  156.